home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
201-225
/
disk_222
/
plplot
/
src
/
source.zoo
/
plerx1.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-05-15
|
429b
|
20 lines
/* Plots single horizontal error bar */
#include "plplot.h"
#include <math.h>
void plerx1(xmin,xmax,y)
float xmin, xmax, y;
{
float mindef, minht, xpmm, ypmm;
int yminor;
gmin(&mindef,&minht);
gpixmm(&xpmm,&ypmm);
yminor = max(1.0,minht*ypmm);
movwor(xmin,y);
plxtik(wcpcx(xmin),wcpcy(y),yminor,yminor);
drawor(xmax,y);
plxtik(wcpcx(xmax),wcpcy(y),yminor,yminor);
}